package top.rainf.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author 星环
 * @date 2023/5/20 12:40:28
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BanRecord {
    private int userId;
    private int blockId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    private int creatorId;
    private String reason;
}
